//
//  ZFContactInfoModal.m
//  HappilyLoan
//
//  Created by zainishenbian on 2017/4/7.
//  Copyright © 2017年 zongqingxiangqian. All rights reserved.
//

#import "ZFContactInfoModal.h"

@implementation ZFContactInfoModal
+ (instancetype)getContactInfoDictionary:(NSDictionary *)dict
{
    ZFContactInfoModal *modal = [ZFContactInfoModal new];
    
    modal.ad_code = [NSString stringWithFormat:@"%@",dict[@"ad_code"]];
    modal.ad_path = dict[@"ad_path"];
    modal.contact_name = dict[@"contact_name"];
    modal.contact_phone = dict[@"contact_phone"];
    modal.contact_relation = [NSString stringWithFormat:@"%@",dict[@"contact_relation"]];
    modal.contact_type = [NSString stringWithFormat:@"%@",dict[@"contact_type"]];
    modal.detail_address = dict[@"detail_address"];
    modal.urgent_info_id = [NSString stringWithFormat:@"%@",dict[@"id"]];
    
    return modal;
}
@end
